<script setup>
import { ref, onMounted } from 'vue'
import { useRoute, useRouter } from 'vue-router';
import { useInfoStore } from "@/stores/userInfo"
const store = useInfoStore()
const text = ref(null)
onMounted(() => {
    text.value = store.errMsg
})
// 逻辑代码
</script>

<template>
    <div>
        <van-empty image="error" :description="text" />
    </div>
</template>

<style scoped></style>